projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21ec45c
)
; Fix lexical-binding conversion of semantic/bovine/gcc.el
author
Stefan Kangas
<stefan@marxist.se>
Thu, 11 Feb 2021 14:40:45 +0000
(15:40 +0100)
committer
Stefan Kangas
<stefan@marxist.se>
Thu, 11 Feb 2021 15:12:02 +0000
(16:12 +0100)
* lisp/cedet/semantic/bovine/gcc.el (semantic-gcc-get-include-paths):
Fix sorting and comparison after previous lexical-binding conversion.
lisp/cedet/semantic/bovine/gcc.el
patch
|
blob
|
history
diff --git
a/lisp/cedet/semantic/bovine/gcc.el
b/lisp/cedet/semantic/bovine/gcc.el
index 9cd9cdcb84b1234de35b5eab6285c181f2c2f248..c2121e5d587fb9460346206b657b1643a5ae56a8 100644
(file)
--- a/
lisp/cedet/semantic/bovine/gcc.el
+++ b/
lisp/cedet/semantic/bovine/gcc.el
@@
-89,8
+89,9
@@
to give to the program."
(let ((path (substring line 1)))
(when (and (file-accessible-directory-p path)
(file-name-absolute-p path))
- (cl-pushnew (expand-file-name path) inc-path))))))))
- inc-path))
+ (cl-pushnew (expand-file-name path) inc-path
+ :test #'equal))))))))
+ (nreverse inc-path)))
(defun semantic-cpp-defs (str)